package net.lzzy.practices.web.models;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author HUAWEI
 */
@Getter
@Setter
@ApiModel(description = "注册需要的用户参数")
public class RegisterInfo {
    @ApiModelProperty("用户昵称，不能默认采用用户名")
    private String nick;
    @ApiModelProperty("用户名")
    private String user;
    private String phone;
    private String email;
    private String password;
    private String avatar;
    @ApiModelProperty("是否在注册时申请教师")
    private boolean teacher;

}
